Skip to content

feat: make config file optional#295

Merged
sdn4z merged 1 commit into
elementsinteractive:mainfrom
sdn4z:no-load-config-as-package
Sep 2, 2025
Merged

feat: make config file optional#295
sdn4z merged 1 commit into
elementsinteractive:mainfrom
sdn4z:no-load-config-as-package

Conversation

@sdn4z
Copy link
Copy Markdown
Collaborator

@sdn4z sdn4z commented Sep 2, 2025

When we're running twyn as a 3rd party package, we may not want the config to be loaded from the config file.

This PR introduces the possibility to decide whether or not to use it.

Since it default to False (only for when it's used as a library!), it is a breaking change.

closes #294

BREAKING CHANGE

@sdn4z sdn4z requested a review from scastlara as a code owner September 2, 2025 09:20
@sdn4z sdn4z merged commit d810678 into elementsinteractive:main Sep 2, 2025
12 checks passed
@sdn4z sdn4z deleted the no-load-config-as-package branch September 2, 2025 09:24
sdn4z added a commit that referenced this pull request Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not load configs when running twyn as a package

2 participants